testsuite: Pass --output for gsk tests
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Jun 2019 00:51:09 +0000 (00:51 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Jun 2019 02:09:04 +0000 (02:09 +0000)
We want to keep the output from ci runs.
So we now write the .out.png and .diff.png
files to build/testsuite/gsk/compare/$RENDERER.

testsuite/gsk/meson.build

index a3563f11b4af33e9616b61ea1bc9956a4dc233ce..fd3118af497ffbf8dd67785aa61534bdb8e37ecf 100644 (file)
@@ -71,7 +71,8 @@ foreach renderer : renderers
   foreach test : compare_render_tests
     if (renderer[1] == '' or not test.contains(renderer[1]))
       test(renderer[0] + ' ' + test, compare_render,
-           args: [join_paths(meson.current_source_dir(), 'compare', test + '.node'),
+           args: ['--output', join_paths(meson.current_build_dir(), 'compare', renderer[0]),
+                  join_paths(meson.current_source_dir(), 'compare', test + '.node'),
                   join_paths(meson.current_source_dir(), 'compare', test + '.png')],
            env: [ 'GIO_USE_VOLUME_MONITOR=unix',
                   'GSETTINGS_BACKEND=memory',